#ifndef __SCROLLVBOX__HPP__
#define __SCROLLVBOX__HPP__

#include <SDL.h>

#include "Ielement.hpp"

#include "scroll.h"

class ScrollBox :
	public IElement
{
public:
	ScrollBox(IElement*, SDL_Surface*);
	virtual ~ScrollBox();

private:

  //Ielement interface
  void update();
  void render(int x, int y);

  void onResize();
  void onMove();

  bool mouseUp(int x, int y, Uint8 button);
  bool mouseDown(int x, int y, Uint8 button);
  //-------

 Scroll vertScroll_;
 Scroll horScroll_;


};

#endif